function [result] = triang_similarity_diff(vol)
%TRIANG_SIMILARITY_DIFF Summary of this function goes here
%   Detailed explanation goes here
if 1==1
    for ii=1:length(vol)-1
        for jj=ii+1:length(vol)

            result(ii,jj) = sum(sum(abs(vol{ii}-vol{jj})));

        end
    end
else
    for ii=1:length(vol)-1
        for jj=ii+1:length(vol)

            result(ii,jj) = sum(sum(sqrt(vol{ii}.^2-vol{jj}.^2)));

        end
    end
    

end

